package ui;

import java.awt.BorderLayout;

import javax.swing.JFrame;

public class SimulatorGUI extends JFrame {

	private String windowTitle="DA von Alexander Wobser - Simulation von Discovery Mechanismen in adhoc Bluetooth-Netzwerken";
	private BorderLayout layout = new BorderLayout();
	
	public SimulatorGUI(){
		SimulationDesktop.getInstance().setVisible(true);
		this.setTitle(windowTitle);
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setLayout(layout);
		this.add(SimulatorToolbar.getInstance(), BorderLayout.NORTH);
		this.add(SimulationDesktop.getInstance(), BorderLayout.CENTER);
		this.setSize(800,800);
		this.setVisible(true);
	}
}
